package com.example.hospitalsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hospitalsystem.pojo.dto.department.AddDepartmentDto;
import com.example.hospitalsystem.pojo.dto.department.DepartmentPageQueryDto;
import com.example.hospitalsystem.pojo.dto.pharmacy.AddPharmacyDto;
import com.example.hospitalsystem.pojo.dto.pharmacy.PharmacyPageQueryDto;
import com.example.hospitalsystem.pojo.entity.Department;
import com.example.hospitalsystem.pojo.entity.Pharmacy;
import com.example.hospitalsystem.result.Result;

import java.util.List;

public interface PharmacyService extends IService<Pharmacy> {

    public Result<Object> getAllPharmacyInfo(PharmacyPageQueryDto pharmacyPageQueryDto);

    public Result<Object> addPharmacy(AddPharmacyDto addPharmacyDto);

    public Result<Object> deletePharmacy(int id);

    List<Pharmacy> searchPharmacy(String key);
}
